import java.util.Arrays;

public class hello {
    public static void main(String[] args) {
        int[] arr = {9};
        int sum = 0;
        for (int i=0; i<arr.length; i++) {
            sum = sum*10+ arr[i];
        }
        ++sum;
        int[] re=null;
        if(sum<=10){
            re = new int[arr.length+1];
        }else{
            re = new int[arr.length];
        }
        for (int i= re.length-1; i>=0; i--) {
            re[i] = sum%10;
            sum=sum/10;
        }
        for (int i = 0; i < re.length; i++) {
            System.out.print(re[i]);
        }
    }
}
